package com.kj.report.model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author cwh
 * @since 2018-10-09
 */

public class PayOrder {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
	private Long orderId;
    /**
     * 用户ID
     */
	private Long userId;
    /**
     * 订单号
     */
	private String orderNum;
    /**
     * 流水号
     */
	private String payNum;
    /**
     * 订单时间
     */
	private Date orderTime;
    /**
     * 支付时间
     */
	private Date payTime;
    /**
     * 商品名称
     */
	private String commodityName;
    /**
     * 设备ID
     */
	private Integer deviceId;
	private Double orderPrice;
    /**
     * 支付价格
     */
	private Double payPrice;
    /**
     * 支付方式 1 微信支付 2 限时免费 3 口令支付 4 新用户首次免费 5 支付宝支付
     */
	private String payType;
    /**
     * 支付状态(1：未支付, 2：已支付)
     */
	private Integer payStatus;
    /**
     * 备注
     */
	private String remark;
    /**
     * sn码
     */
	private String snNum;
    /**
     * 机器设备对应的mac地址
     */
	private String macAddress;
    /**
     * 报告ID
     */
	private String inspectId;
    /**
     * 套餐Id
     */
	private Integer packageId;
    /**
     * 关联子套餐ID
     */
	private Integer packageChild;
    /**
     * 代理商ID
     */
	private String agentId;
    /**
     * 代理商层级关系
     */
	private String agentIds;
    /**
     * 支付通道ID
     */
	private Integer payChannelId;
    /**
     * 支付通道名称
     */
	private String payChannelName;
	private Integer paychannelId;
	private String paychannelName;
	private String paychannelCard;


	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public String getPayNum() {
		return payNum;
	}

	public void setPayNum(String payNum) {
		this.payNum = payNum;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getCommodityName() {
		return commodityName;
	}

	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}

	public Integer getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	public Double getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(Double orderPrice) {
		this.orderPrice = orderPrice;
	}

	public Double getPayPrice() {
		return payPrice;
	}

	public void setPayPrice(Double payPrice) {
		this.payPrice = payPrice;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSnNum() {
		return snNum;
	}

	public void setSnNum(String snNum) {
		this.snNum = snNum;
	}

	public String getMacAddress() {
		return macAddress;
	}

	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}

	public String getInspectId() {
		return inspectId;
	}

	public void setInspectId(String inspectId) {
		this.inspectId = inspectId;
	}

	public Integer getPackageId() {
		return packageId;
	}

	public void setPackageId(Integer packageId) {
		this.packageId = packageId;
	}

	public Integer getPackageChild() {
		return packageChild;
	}

	public void setPackageChild(Integer packageChild) {
		this.packageChild = packageChild;
	}

	public String getAgentId() {
		return agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

	public String getAgentIds() {
		return agentIds;
	}

	public void setAgentIds(String agentIds) {
		this.agentIds = agentIds;
	}

	public Integer getPayChannelId() {
		return payChannelId;
	}

	public void setPayChannelId(Integer payChannelId) {
		this.payChannelId = payChannelId;
	}

	public String getPayChannelName() {
		return payChannelName;
	}

	public void setPayChannelName(String payChannelName) {
		this.payChannelName = payChannelName;
	}

	public Integer getPaychannelId() {
		return paychannelId;
	}

	public void setPaychannelId(Integer paychannelId) {
		this.paychannelId = paychannelId;
	}

	public String getPaychannelName() {
		return paychannelName;
	}

	public void setPaychannelName(String paychannelName) {
		this.paychannelName = paychannelName;
	}

	public String getPaychannelCard() {
		return paychannelCard;
	}

	public void setPaychannelCard(String paychannelCard) {
		this.paychannelCard = paychannelCard;
	}


	@Override
	public String toString() {
		return "PayOrder{" +
			", orderId=" + orderId +
			", userId=" + userId +
			", orderNum=" + orderNum +
			", payNum=" + payNum +
			", orderTime=" + orderTime +
			", payTime=" + payTime +
			", commodityName=" + commodityName +
			", deviceId=" + deviceId +
			", orderPrice=" + orderPrice +
			", payPrice=" + payPrice +
			", payType=" + payType +
			", payStatus=" + payStatus +
			", remark=" + remark +
			", snNum=" + snNum +
			", macAddress=" + macAddress +
			", inspectId=" + inspectId +
			", packageId=" + packageId +
			", packageChild=" + packageChild +
			", agentId=" + agentId +
			", agentIds=" + agentIds +
			", payChannelId=" + payChannelId +
			", payChannelName=" + payChannelName +
			", paychannelId=" + paychannelId +
			", paychannelName=" + paychannelName +
			", paychannelCard=" + paychannelCard +
			"}";
	}
}
